<?php

    #-------------------------------------------------------------#
	# This file is part of the Tekuna MVC Microframework for PHP. #
	# (c) 2009 Niels Jäckel <niels.jaeckel@tekuna.org>            #
	# Please visit http://tekuna.org/ for more information.       #
	#                                                             #
	# This software is licensed under the MIT License. Please     #
	# view the LICENSE file for the full text of this license.    #
    #-------------------------------------------------------------#


	Tekuna :: load('org.tekuna.core.filter.TekunaFileFilter');


	/**
	 * This is an empty file filter that doesn't apply any kind of filter
	 * to the uploaded file. The given PostFile object is returned as it is.
	 *
	 * This filter is used if you want to work with the raw uploaded file
	 */

	class EmptyFileFilter implements TekunaFileFilter {


		/**
		 * Empty filter method that just returns the given PostFile instance
		 *
		 * @param PostFile $objFile
		 * @return PostFile
		 */

		public function filter(PostFile $objFile) {

			return $objFile;
		}
	}
